package cn.tedu.csmall.server.repo; 
 /*
 @Time: 2022/8/25 14:27
 @Author:GShuai
 @File:IBrandRepository.class
 @Software:IntelliJ IDEA
*/


import cn.tedu.csmall.server.pojo.vo.BrandDetailVO;
import cn.tedu.csmall.server.pojo.vo.BrandListItemVO;
import java.util.List;

public interface  IBrandRepository {

    String KEY_PREFIX_BRAND_ITEM="brand:item:";
    String KEY_BRAND_LIST = "brand:list";

    void put(BrandDetailVO brandDetailVO);

    BrandDetailVO get(Long id);

    void deleteItem(Long id);

    void putList(List<BrandListItemVO> list);

    List<BrandListItemVO> getList();

    void deleteList();
}
